﻿using DotNetSpeech;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Calculator
{
    public partial class Launch : Form
    {
        SpVoice voice = new DotNetSpeech.SpVoiceClass();
        public Launch()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            voice.Speak("欢迎您使用本城续", SpeechVoiceSpeakFlags.SVSFlagsAsync);
            this.Hide();
            var startboard = new StartBoard();
            startboard.ShowDialog();

            
        }

        private void Launch_Load(object sender, EventArgs e)
        {
            
        }
    }
}
